package com.ruoyi.gybj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 重大危险源对象 gybj_hazard
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class Hazard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 危险源编码 */
    @Excel(name = "危险源编码")
    private String hazardCode;

    /** 企业编码 */
    @Excel(name = "企业编码")
    private String enterpriseCode;

    /** 危险源名称 */
    @Excel(name = "危险源名称")
    private String hazardName;

    /** 危险源简称 */
    @Excel(name = "危险源简称")
    private String shortName;

    /** 危险源等级 */
    @Excel(name = "危险源等级")
    private String hazardLevel;

    /** R值 */
    @Excel(name = "R值")
    private String rValue;

    /** 重大危险源分类 */
    @Excel(name = "重大危险源分类")
    private String hazardCategory;

    /** 行政区域编码 */
    @Excel(name = "行政区域编码")
    private String adminRegionCode;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    private String lon;

    /** 维度 */
    @Excel(name = "维度")
    private String lat;

    /** 投用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date usedTime;

    /** 防护范围 */
    @Excel(name = "防护范围")
    private String protectionRange;

    /** 防护人数 */
    @Excel(name = "防护人数")
    private Long protectionPersonNum;

    /** 主要负责人 */
    @Excel(name = "主要负责人")
    private String mainResponsiblePerson;

    /** 主要负责人联系方式 */
    @Excel(name = "主要负责人联系方式")
    private String mainResponsibleTel;

    /** 主要负责人职务 */
    @Excel(name = "主要负责人职务")
    private String mainResponsiblePosition;

    /** 技术负责人 */
    @Excel(name = "技术负责人")
    private String technicalResponsiblePerson;

    /** 技术负责人联系方式 */
    @Excel(name = "技术负责人联系方式")
    private String technicalResponsibleTel;

    /** 技术负责人职务 */
    @Excel(name = "技术负责人职务")
    private String technicalResponsiblePosition;

    /** 操作负责人 */
    @Excel(name = "操作负责人")
    private String operationResponsiblePerson;

    /** 操作负责人联系方式 */
    @Excel(name = "操作负责人联系方式")
    private String operationResponsibleTel;

    /** 操作负责人职务 */
    @Excel(name = "操作负责人职务")
    private String operationResponsiblePosition;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setHazardCode(String hazardCode) 
    {
        this.hazardCode = hazardCode;
    }

    public String getHazardCode() 
    {
        return hazardCode;
    }

    public void setEnterpriseCode(String enterpriseCode) 
    {
        this.enterpriseCode = enterpriseCode;
    }

    public String getEnterpriseCode() 
    {
        return enterpriseCode;
    }

    public void setHazardName(String hazardName) 
    {
        this.hazardName = hazardName;
    }

    public String getHazardName() 
    {
        return hazardName;
    }

    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }

    public void setHazardLevel(String hazardLevel) 
    {
        this.hazardLevel = hazardLevel;
    }

    public String getHazardLevel() 
    {
        return hazardLevel;
    }

    public void setrValue(String rValue) 
    {
        this.rValue = rValue;
    }

    public String getrValue() 
    {
        return rValue;
    }

    public void setHazardCategory(String hazardCategory) 
    {
        this.hazardCategory = hazardCategory;
    }

    public String getHazardCategory() 
    {
        return hazardCategory;
    }

    public void setAdminRegionCode(String adminRegionCode) 
    {
        this.adminRegionCode = adminRegionCode;
    }

    public String getAdminRegionCode() 
    {
        return adminRegionCode;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setLon(String lon) 
    {
        this.lon = lon;
    }

    public String getLon() 
    {
        return lon;
    }

    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }

    public void setUsedTime(Date usedTime) 
    {
        this.usedTime = usedTime;
    }

    public Date getUsedTime() 
    {
        return usedTime;
    }

    public void setProtectionRange(String protectionRange) 
    {
        this.protectionRange = protectionRange;
    }

    public String getProtectionRange() 
    {
        return protectionRange;
    }

    public void setProtectionPersonNum(Long protectionPersonNum) 
    {
        this.protectionPersonNum = protectionPersonNum;
    }

    public Long getProtectionPersonNum() 
    {
        return protectionPersonNum;
    }

    public void setMainResponsiblePerson(String mainResponsiblePerson) 
    {
        this.mainResponsiblePerson = mainResponsiblePerson;
    }

    public String getMainResponsiblePerson() 
    {
        return mainResponsiblePerson;
    }

    public void setMainResponsibleTel(String mainResponsibleTel) 
    {
        this.mainResponsibleTel = mainResponsibleTel;
    }

    public String getMainResponsibleTel() 
    {
        return mainResponsibleTel;
    }

    public void setMainResponsiblePosition(String mainResponsiblePosition) 
    {
        this.mainResponsiblePosition = mainResponsiblePosition;
    }

    public String getMainResponsiblePosition() 
    {
        return mainResponsiblePosition;
    }

    public void setTechnicalResponsiblePerson(String technicalResponsiblePerson) 
    {
        this.technicalResponsiblePerson = technicalResponsiblePerson;
    }

    public String getTechnicalResponsiblePerson() 
    {
        return technicalResponsiblePerson;
    }

    public void setTechnicalResponsibleTel(String technicalResponsibleTel) 
    {
        this.technicalResponsibleTel = technicalResponsibleTel;
    }

    public String getTechnicalResponsibleTel() 
    {
        return technicalResponsibleTel;
    }

    public void setTechnicalResponsiblePosition(String technicalResponsiblePosition) 
    {
        this.technicalResponsiblePosition = technicalResponsiblePosition;
    }

    public String getTechnicalResponsiblePosition() 
    {
        return technicalResponsiblePosition;
    }

    public void setOperationResponsiblePerson(String operationResponsiblePerson) 
    {
        this.operationResponsiblePerson = operationResponsiblePerson;
    }

    public String getOperationResponsiblePerson() 
    {
        return operationResponsiblePerson;
    }

    public void setOperationResponsibleTel(String operationResponsibleTel) 
    {
        this.operationResponsibleTel = operationResponsibleTel;
    }

    public String getOperationResponsibleTel() 
    {
        return operationResponsibleTel;
    }

    public void setOperationResponsiblePosition(String operationResponsiblePosition) 
    {
        this.operationResponsiblePosition = operationResponsiblePosition;
    }

    public String getOperationResponsiblePosition() 
    {
        return operationResponsiblePosition;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hazardCode", getHazardCode())
            .append("enterpriseCode", getEnterpriseCode())
            .append("hazardName", getHazardName())
            .append("shortName", getShortName())
            .append("hazardLevel", getHazardLevel())
            .append("rValue", getrValue())
            .append("hazardCategory", getHazardCategory())
            .append("adminRegionCode", getAdminRegionCode())
            .append("address", getAddress())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("usedTime", getUsedTime())
            .append("protectionRange", getProtectionRange())
            .append("protectionPersonNum", getProtectionPersonNum())
            .append("mainResponsiblePerson", getMainResponsiblePerson())
            .append("mainResponsibleTel", getMainResponsibleTel())
            .append("mainResponsiblePosition", getMainResponsiblePosition())
            .append("technicalResponsiblePerson", getTechnicalResponsiblePerson())
            .append("technicalResponsibleTel", getTechnicalResponsibleTel())
            .append("technicalResponsiblePosition", getTechnicalResponsiblePosition())
            .append("operationResponsiblePerson", getOperationResponsiblePerson())
            .append("operationResponsibleTel", getOperationResponsibleTel())
            .append("operationResponsiblePosition", getOperationResponsiblePosition())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
